<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/goods/doGoodsUpdate}" method="post">
    <ul>
        <li><input type="hidden" name="id" th:value="${goodsList.id}"></li>
        <li>name</li>
        <li><input type="text" name="name" th:value="${goodsList.name}"></li>
        <li>remark</li>
        <li><textarea rows="3" cols="50" name="remark" th:text="${goodsList.remark}"></textarea> </li>
        <li><input type="submit"value="update goods"></li>
    </ul>
</form>
</body>
</html>